package com.jr.service.impl;

import com.jr.service.TestService;
import org.springframework.stereotype.Service;

/**
 * Created by IntelliJ IDEA.
 *
 * @author: ZhiHu.Liu
 * @date: 2020/3/23 4:41 下午
 */
@Service
public class TestServiceImpl implements TestService {

    @Override
    public String hello(String name) {
        int i = 10 / 0;
        return "hello! " + name;
    }


    @Override
    public String test(String name) {
        return "hello! " + name;
    }


}
